<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<br><br>
<div class="mt_20 ar">
	<span class="button btnProc01">
		<a href="#" onclick="downloadExcel('${commandMap.site}', '${commandMap.tableName}', '${commandMap.input_date}', 'day')">통계 다운로드</a>
	</span>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="tbl_type01">
	<thead>
		<tr>
			<th>게시판명</th>
			<th>등록수</th>
			<th>조회수</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="item" items="${ listMap }" varStatus="status">
		<tr>
			<td>${item.BBS_NAME}</td>
			<td><fmt:formatNumber value="${item.TOTALCOUNT}" type="number" /></td>
			<td><fmt:formatNumber value="${item.TOTAL}" type="number" /></td>
		</tr>
		</c:forEach>
	</tbody>
</table>					